package com.wutong.erb.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 教师实体
 * @author wutong
 */
@Data
@TableName("teacher_profile")
public class Teacher {
    @TableId(value = "user_id", type = IdType.INPUT)
    private Long userId;
    @TableField(value = "organization")
    private String organization;
    @TableField(value = "title")
    private String title;
    @TableField(value = "hire_date")
    private LocalDateTime hireDate;
}
